package com.geeksaga.bbs.business
{
	import com.adobe.cairngorm.business.ServiceLocator;
	
	import mx.rpc.IResponder;

	public class BbsDeletegate
	{
		private var responder : IResponder;
		private var service : Object;
		
		public function BbsDeletegate(responder : IResponder){
			this.service = ServiceLocator.getInstance().getRemoteObject("bbsService");
			this.responder = responder;
		}
		
		public function selectList(searchType:String=null, searchKeyword:String=null, page:Number=1, rowCount:Number=20):void {
			var call :Object = service.selectList(currentPage, searchType, searchKeyword, page, rowCount);
			call.addResponder(responder);
		}
	}
}